Security assessment of virtual machines
in virtual environments should be no different from physical computing systems. In fact, a good rule of thumb may be
to do nothing different in hardening, protecting, or assessing unless there
is a valid reason to make an exception. In this respect, the countermeasures shown
below also help to consider in protecting the organization's physical
information assets. Assessment activities include
vulnerability scanning and analysis, vulnerability testing software categories,
vulnerability testing qualities. Potential problems with vulnerability
scanning host security considerations, firewall and router testing and
security monitoring testing. Now let's look at them in detail. Vulnerability scanning is simply
the process of checking a system for weaknesses. These vulnerabilities can take
the form of applications or operating systems that are missing
patches, misconfiguration of systems, unnecessary applications, or open ports. The goal of a vulnerability
assessment is to study the security level of the systems,
identify problems, offer mitigation techniques, and
assist in prioritizing improvements. The benefits of vulnerability
testing include identifying system vulnerabilities, prioritizing mitigation tasks based
on system criticality and risk. And it is considered a useful tool for
comparing security posture over time, especially when done during
each period consistently. On the contrary,
if the test is not designed appropriately, it may not effectively focus efforts and
if dangerous tests are chosen, it can crash the network or
host being tested. Vulnerability testing software is
often placed into two broad general vulnerability and
application specific vulnerability. General vulnerability software probes
hosts and operating systems for known flaws. It also probes common applications for
flaws. Application-specific vulnerability tools
are explicitly designed to analyze certain types of application software. For example, database scanners optimize
to understand the deep issues and weaknesses of Oracle databases or Microsoft SQL server can uncover
implementation problems therein. Likewise, scanners optimized for web servers look deeply into
issues surrounding those systems. Vulnerability scanning software in general
is often referred to as vulnerability assessment software. It sometimes combines a port mapping
function to identify hosts and may offer applications with further analysis that
assigns vulnerabilities to applications. In addition, good vulnerability software
will offer mitigation techniques or links to manufacturer websites for
further research. This stage of security testing is
often an automated software process. However, it is also beneficial
to use multiple tools and cross reference the results of those
tools for a more accurate picture. As with any automated process, you need to
examine the results closely to ensure that they are accurate for
the organizations environment. Vulnerability testing usually employs
software specific to the activity and tends to have qualities like OS
fingerprinting, stimulus and response algorithms,
privileged logon ability. Cross-referencing, update capability,
and reporting capability. Let's look at them in more detail. OS fingerprinting is used to identify the
operating system being used on a target. OS fingerprinting is the process where
a scanner can determine the host's operating system by analyzing
the TCP over IP stack flag settings. These settings vary on each operating
system from the vendor to vendor or TCP over IP stack analysis and
banner grabbing. Banner grabbing is reading
the response banner presented for several ports such as FTP,
HTTP, and Telnet. This function is sometimes
built into mapping software and sometimes into vulnerability software. Stimulus and response algorithms
are techniques to identify application software versions, referencing these
versions with known vulnerabilities. Stimulus involves sending one or
more packets to the target. Then, depending on the response, the tester can infer information
about the target's applications. For example, in order to determine
the version of the HTTP server, the vulnerability testing software might
send an HTTP get request to a web server. And read the reply information
it receives back for information that details that it is
Apache version X IIs version Y, etc. Privileged logon ability, the ability to
automatically log on to a host or group of hosts with user credentials for a deeper
authorized look at systems is desirable. Cross-referencing, OS and applications or services should be cross referenced
to identify possible vulnerabilities. For example, suppose OS fingerprinting
reveals that the host runs Red Hat Linux 8.0 and that port mapper
is one of the listening programs. In that case, any pre 8.0 port mapper
vulnerabilities can likely be ruled out. However, keep in mind that old
vulnerabilities have resurfaced in later versions of code,
even though they were patched at one time. While these instances may occur,
the filtering based on OS and application fingerprinting will
help you better target systems and use your time more effectively. Update capability, scanners must be kept
up to date with the latest vulnerability signatures, otherwise, they will not
detect newer problems and vulnerabilities. Commercial tools that do not have
quality personnel dedicated to updating the product are of reduced effectiveness. Likewise, open-source scanners
should have a qualified following to keep them up to date. Reporting capability,
without the ability to report, a scanner does not serve much purpose. Good scanners provide the ability to
export scan data in various formats, including viewing an HTML or PDF format,
or to third party reporting software. In addition, they are configurable enough
to give the ability to filter reports into high, mid, and low-level detail, depending
on the intended audience for the report. For example,
reports are used as a basis for determining mitigation activities later. Additionally, many scanners
are now feeding automated risk management dashboards using
application portal interfaces. Problems that may arise when using
vulnerability analysis tools include false positives, weeding out false positives,
crash exposure, and temporal information. We will discuss them in more detail. False positives when scanners use
generalized tests or cannot deeply scan the application, it might not determine
whether they have the vulnerability. Instead, it would only indicate that
the application might have vulnerability. For example, if it seems that the server
is running a remote-control application, the test software may indicate
a high vulnerability. However, if you have implemented
the remote control application to a high standard, the organization's
vulnerability is not as high. Weeding out false positives even if
a scanner reports service as vulnerable or missing a patch that
leads to vulnerability, the system is not necessarily vulnerable. Accuracy is a function of
the scanner's quality, such as how complete and
concise the testing mechanisms are built, how up to date the testing scripts are,
and how well it performs. OS fingerprinting, double check
the scanner's work verify that a claimed vulnerability is an actual vulnerability. Good scanners will reference documents
to help you learn more about the issue. Crash exposur, vulnerability assessment
software has some inherent dangers because much of the vulnerability testing software
includes denial of service test scripts. If used carelessly, hosts may crash. Ensure that hosts being tested
have proper backups and conduct the tests during the least
impact on business operations. Temporal information,scans are temporal in
nature, which means the scan results you have today become stale as time moves on
and new vulnerabilities are discovered. Therefore, scans must be performed
periodically with scanners that are up to date with the latest
vulnerability signatures. [MUSIC]